home *** CD-ROM | disk | FTP | other *** search
/ Aminet 2 / Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso / Aminet / util / pack / SLZSPD.readme < prev    next >
Encoding:
Text File  |  1993-06-08  |  2.0 KB  |  34 lines

  1. Short: Example of the Fast SLZ compression routine
  2.  
  3.      A short while ago, I posted a new compression routine to C.S.A.P. that
  4. featured extremely fast decompression.  The article is included in this
  5. archive that describes the algorithms and has source code.  I have also
  6. written a program that decompresses data to CHIP memory (the bat2bat.anim).
  7. I have achieved very fast speeds with this (over 20 fps on an Amiga 3000/25
  8. which is about 700K/second to CHIP MEMORY).  There is no double-buffering
  9. of the animation.  The flicker that results is minimal though and is also
  10. useful.  This is mostly due to the fact that I am using interleaved bitplanes
  11. (they work under 1.3 even).  If you can count the lines of flicker, divide 60
  12. by this number and you'll get a rough frame rate (50 on PAL).  Then if the
  13. lines crawl down, you know you are actually going faster than this rough frame
  14. rate and if the lines crawl up you are going slower than this frame rate.  Even
  15. on a stock 68000, you should see at least 12 fps or about 400K/second
  16. decompression to CHIP.  Note that although this is slower than the anim format,
  17. it is NOT using delta compression -- it is using each frame compressed!  The
  18. file is also smaller (even though it's an executable) than the original bat2bat
  19. animation available on Aminet which also requires an external anim player.
  20.  
  21.      NOTE:  These high decompression speeds were achieved without turning
  22. off multitasking with Forbid() and were running on a moderate/light loaded
  23. system (Cygnus Ed, WorkBench, a CLI, WB Clock, and a couple of commodities
  24. [Blanker, Exchange, CrossDos]).  The Amiga 3000/25 had 1 M CHIP and 4 M Fast
  25. and the 68000 was an A2000 with 1 M CHIP and 2 M Fast.
  26.  
  27.      The source code to this animation will be made available at a later
  28. date as I wish to integrate the tools I wrote to grab the animation and
  29. change it into SLZ compressed form.  This way intermediate users will have
  30. less difficulty with the animation environment.
  31.  
  32. Adisak Pochanayon
  33. pochanay@cae.wisc.edu
  34.